package com.eatme.web.sys.quartz.service;

import com.eatme.web.app.coupon.common.exception.AppException;
import com.eatme.web.sys.quartz.req.QuartzJobReq;
import com.eatme.web.sys.quartz.req.QuartzJobResp;

import java.util.List;


/**
 * @Description: 定时任务在线管理
 * @Author: nzc
 */
public interface ISchedulerJobService {

	boolean addAndschedulerJob(QuartzJobReq quartzJob);


	boolean resumeJob(QuartzJobReq quartzJob) throws AppException;

	void test(String param);

	void resetJob(QuartzJobReq quartzJob);


	void deleteJob(QuartzJobReq quartzJob);

	List<QuartzJobResp> queryJob();

	void triggerJob(String jobClassName, String jobGroupName);

	void pauseJob(String trim, String group);
}
